<template>
  <div>
    {{product.name}}
    
  </div>
</template>
<script>
export default {
  data() {
    return {
      product: {}
    }
  },
  async beforeMount() {
    let _id = this.$route.query._id
    let res = await this.$store.dispatch('getProduct', _id)
    if (res.success) this.product = res.data
  },
  methods: {
    
  }
}
</script>

